<template>
  <div>
    {{count}}
  </div>
</template>

<script>
import { computed } from 'vue'
import { useStore } from 'vuex'
export default {
  setup() {
    const store = useStore()
    return {
      count: computed(() => store.state.count)
    }
  }
}
</script>

<style lang='stylus' scoped>

</style>